'''
Created on Dec 28, 2012

@author: peng
'''


def add_dict(d):
    d['a'] += 1
    d['b'] += 1


def test():
    d = {'a': 1, 'b': 2}
    print d
    add_dict(d)
    print d

test()
